module.exports = function(lab) {
    return {
        "导入商品" : function() {

            return @.async(function(){
                lab.slime.brand.@importSKU(@.uuid(),{
                    barcode : "692321321321321",
                    item_code : "X112121",
                    retail_unit : "124g",

                    name : "aa",
                    brand : "A",
                    category : "B",
                    list_price : 10,
                    market_price : 100,
                    image_url : "",
                    memo : ""
                }).pipe(this);
            })
        },

        "搜索Brand商品" : function() {

            return @.async(function() {

                lab.slime.brand.searchSKUs({
                    currentOU : {
                        id : "270d6b22-2a30-44d6-ab94-45974999d241"
                    }
                }, {
                    brand : "A",
                    category : "B",
                    store_id : "7887e420-cc02-4151-9bd6-d520994d8735"
                }).pipe(this)
            })
         },

        "更新商品" : function() {

            return @.async(function() {
                lab.slime.brand.updateSKU({
                    currentOU : {
                        id : "729b7a1e-1117-42c2-85b7-2ec72a3541c8"
                    }
                }, {
                    id : "a9764873-dd6c-40cc-aa04-01850b8570ac",
                    barcode : "792321321",
                    item_code : "X112",
                    retail_unit : "124g",
                    package_sku : 12,
                    name : "aa",
                    brand : "A",
                    category : "B",
                    trader_price : 10,
                    image_url : "",
                    memo : ""
                }).pipe(this)
            })
        },

        "批量删除" : function() {

            return @.async(function() {

                lab.slime.brand.batchDeleteSKUs({
                    currentOU : {
                        id : "729b7a1e-1117-42c2-85b7-2ec72a3541c8"
                    }
                }).pipe(this)
            })
        }
    }
}